﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ProTrack.Entity
{
   public class OrderSaleItem
   { 
     /// <summary>
     /// 明细id
     /// </summary>
    public long Id { get; set; }

    /// <summary>
    /// 销售订单编号
    /// </summary>
    public long OrderSaleId { get; set; }

    /// <summary>
    /// 物料产品ID
    /// </summary>
    public long ItemId { get; set; }

    /// <summary>
    /// 数量
    /// </summary>
    public int Count { get; set; }

    /// <summary>
    /// 金额
    /// </summary>
    public float Amount { get; set; }


    /// <summary>
    /// 含税金额
    /// </summary>
    public float TaxAmount { get; set; }

    /// <summary>
    /// 含税单价
    /// </summary>
    public float TaxPrice { get; set; }

    /// <summary>
    /// 商品单价
    /// </summary>
    public float Price { get; set; }

    /// <summary>
    /// 税率
    /// </summary>
    public float Tax { get; set; }

    /// <summary>
    /// 折扣
    /// </summary>
    public float Rebate { get; set; }

    /// <summary>
    /// 备注
    /// </summary>
    public string Remark { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
   public DateTime? CreateTime { get; set; } = DateTime.Now;

        /// <summary>
        /// 更新时间
        /// </summary>
     public DateTime? UpdateTime { get; set; } = DateTime.Now;

        /// <summary>
        /// 创建者
        /// </summary>
        public string Creator { get; set; }

    /// <summary>
    /// 更新者
    /// </summary>
    public string Updater { get; set; }

    /// <summary>
    /// 是否删除
    /// </summary>
    public bool Deleted { get; set; }
}
}

